package edu.uwm.RobberKnight.Model;

import java.util.ArrayList;
import java.util.List;

public class Logger implements java.io.Serializable{


	private static final long serialVersionUID = -3848323178548193295L;
	private List<String> lines = new ArrayList<String>();

    public Logger() {
    }

    public void print(String line) {
        lines.add(line);
    }

    public String[] getLogs() {
        return lines.toArray(lines.toArray(new String[lines.size()]));
    }
}
